You attempted to call the rdoEngine.rdoCreateEnvironment method, the rdoConnection.CreatePreparedStatement, rdoConnection.CreateQuery, or Add method passing a name that already exists in the rdoEnvironments, rdoConnections or rdoPreparedStatements collection.
To avoid this error, make sure the name you pass does not conflict with a name already added to the collection.